package com.ft.turorial.spring.boot.security.shiro.authc;

import org.apache.shiro.authc.UsernamePasswordToken;

public class UsernamePasswordCaptchaToken extends UsernamePasswordToken {

	private static final long serialVersionUID = -7649231742767238166L;
	
	private String captcha;
	 
	public String getCaptcha() {
		return captcha;
	}
 
	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}
 
	public UsernamePasswordCaptchaToken() {
		super();
	}
	public UsernamePasswordCaptchaToken(String username, String password) {
		super(username,password);
	}
	public UsernamePasswordCaptchaToken(String username, String password, String captcha) {
		super(username,password);
		this.captcha = captcha;
	}
	public UsernamePasswordCaptchaToken(String username, char[] password,
			boolean rememberMe, String host, String captcha) {
		super(username, password, rememberMe, host);
		this.captcha = captcha;
	}
}
